package com.zx.DAO;

import com.zx.entity.Achievements;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 程仟磊
 * @date 2021/7/27
 */
public interface AchievementDao {
    List findProjectByName(String user);

    int addAchievement(Achievements achievements);

    void updateAchievement(@Param("aid") int aid, @Param("astate") String astate);

    Object findAchieventById(int pid);

    List findProjectBystate(@Param("user") String user,@Param("astate") String astate);

    List findAllAchievement();

    List findMyAchievement(String uname);

    void changeAchievement(Achievements achievements);
}
